<script language="javascript" >
function check_frm2()
{
	r_form = document.frm_faq;
		if(r_form.re_name.value=='') {
			document.getElementById("id_re_name").innerHTML = "Bạn chưa nhập Họ tên !";
			r_form.re_name.focus();
			return false;
		}
		if (r_form.re_email.value.indexOf("@")<0 || r_form.re_email.value.indexOf(".")<0) {
			document.getElementById("id_re_email").innerHTML = "Bạn chưa nhập Email !";
			r_form.re_email.focus();
			return false;
		}

		if(r_form.re_title.value=='') {
			document.getElementById("id_re_title").innerHTML = "Bạn chưa nhập chủ đề !";
			r_form.re_title.focus();
			return false;
		}
		if(r_form.re_content.value=='') {
			document.getElementById("id_re_content").innerHTML = "Bạn chưa nhập nội dung liên hệ!";
			r_form.re_content.focus();
			return false;
		}

		return true;
}
</script>
		
		

<!--begin left-->
 <? include_once("templates/left.html");?>
 <!-- end left-->
 <!-- begin content-->
<div id="content">
					
    
    <div class="top">
  <div class="left"></div>
  <div class="right"></div>
  <div class="center">
    <h1> Liên hệ</h1>
  </div>
</div>

<div class="middle">
<?=$str?>
  <table  border="0" width="100%" align="center">
      <tbody>
	  <tr><td ><?=$listnews?></td></tr>
		 <tr><td>&nbsp;</td></tr>
	  <tr>   
	  
            <td > 
			<div class="center_title_bar">&nbsp;&nbsp;&nbsp;&nbsp;Liên hệ trực tiếp</div>
			  <table width="100%" border="0" cellspacing="0" cellpadding="0" style="font-family:Tahoma; font-size:12px; ">        
				<form action="<?=$action?>" method="post" name="frm_faq" onsubmit="return check_frm2();" >		
                             
                              
							  <tr><td>&nbsp;</td></tr>
                            
							 <tr><td>&nbsp;</td></tr>
                              <tr>
							    <td height="26" align="right" class="textcontent">Họ và tên <font color="#FF0000" size="2">(*)</font></td>
                                <td>&nbsp;</td>
                                <td align="left"><input type="text" name="re_name" size="45" value="<?=$fullname?>"  onblur=\'document.getElementById("id_re_name").innerHTML="";\' class="ui-widget-content ui-corner-all" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; vertical-align: middle; font-size: 12px; font-family: Arial; color: rgb(51, 51, 51); font: normal normal normal 1em/normal Arial, Helvetica, sans-serif; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); background-image: url(http://phimhd360.com/styles/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-left-radius: 4px 4px; border-top-right-radius: 4px 4px; border-bottom-right-radius: 4px 4px; border-bottom-left-radius: 4px 4px; width: 270px; background-position: 50% 0%; background-repeat: repeat no-repeat; "></td>
                              </tr>
								<tr><td></td><td colspan="3" id="id_re_name" class="alert"></td></tr>							  
                              <tr>
                                <td height="28" class="textcontent"><div align="right">Email <font color="#FF0000" size="2">(*)</font></div></td>
                                <td>&nbsp;</td>
                                <td  align="left"><input type="text" name="re_email" size="45" value="<?=$email?>" onblur=\'document.getElementById("id_re_email").innerHTML="";\' class="ui-widget-content ui-corner-all" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; vertical-align: middle; font-size: 12px; font-family: Arial; color: rgb(51, 51, 51); font: normal normal normal 1em/normal Arial, Helvetica, sans-serif; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); background-image: url(http://phimhd360.com/styles/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-left-radius: 4px 4px; border-top-right-radius: 4px 4px; border-bottom-right-radius: 4px 4px; border-bottom-left-radius: 4px 4px; width: 270px; background-position: 50% 0%; background-repeat: repeat no-repeat; "></td>
                              </tr>
								<tr><td></td><td colspan="3" id="id_re_email" class="alert"></td></tr>								  
                              <tr>
                                <td height="27" align="right" class="textcontent"><div align="right">Điện thoại </div></td>
                                <td>&nbsp;</td>
                                <td  align="left"><input type="text" name="re_tel" size="45" value="<?=$tel?>" class="ui-widget-content ui-corner-all" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; vertical-align: middle; font-size: 12px; font-family: Arial; color: rgb(51, 51, 51); font: normal normal normal 1em/normal Arial, Helvetica, sans-serif; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); background-image: url(http://phimhd360.com/styles/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-left-radius: 4px 4px; border-top-right-radius: 4px 4px; border-bottom-right-radius: 4px 4px; border-bottom-left-radius: 4px 4px; width: 270px; background-position: 50% 0%; background-repeat: repeat no-repeat; "></td>
                              </tr>
                       							  
                              <tr>
                                <td height="27" align="right" class="textcontent"><div align="right">Địa chỉ </div></td>
                                <td>&nbsp;</td>
                                <td  align="left"><input type="text" name="re_address" value="<?=$address?>" size="45" class="ui-widget-content ui-corner-all" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; vertical-align: middle; font-size: 12px; font-family: Arial; color: rgb(51, 51, 51); font: normal normal normal 1em/normal Arial, Helvetica, sans-serif; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); background-image: url(http://phimhd360.com/styles/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-left-radius: 4px 4px; border-top-right-radius: 4px 4px; border-bottom-right-radius: 4px 4px; border-bottom-left-radius: 4px 4px; width: 270px; background-position: 50% 0%; background-repeat: repeat no-repeat; "></td>
                              </tr>
                              <tr>
                                <td width="20%" height="30" class="textcontent"> <div align="right">
                                Tiêu đề <font color="#FF0000" size="2">(*)</font></span>
                                </div></td>
                                <td width="1%">&nbsp;</td>
                                <td width="79%"  align="left"><input type="text" name="re_title" size="45" class="ui-widget-content ui-corner-all" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; vertical-align: middle; font-size: 12px; font-family: Arial; color: rgb(51, 51, 51); font: normal normal normal 1em/normal Arial, Helvetica, sans-serif; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); background-image: url(http://phimhd360.com/styles/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-left-radius: 4px 4px; border-top-right-radius: 4px 4px; border-bottom-right-radius: 4px 4px; border-bottom-left-radius: 4px 4px; width: 270px; background-position: 50% 0%; background-repeat: repeat no-repeat; "></td>
                          	 </tr>
								<tr><td></td><td colspan="3" id="id_re_title" class="alert"></td></tr>								  
						  
                              <tr>
                                <td height="142" class="textcontent"> <div align="right">
                                Nội dung <font color="#FF0000" size="2">(*)</font>
                                </div></td>
                                <td>&nbsp;</td>
                                <td  align="left"><textarea   name="re_content"  cols="50" rows="12" onblur=\'document.getElementById("id_re_content").innerHTML="";\' class="ui-widget-content ui-corner-all" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; vertical-align: middle; font-size: 12px; font-family: Arial; color: rgb(51, 51, 51); font: normal normal normal 1em/normal Arial, Helvetica, sans-serif; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); background-image: url(http://phimhd360.com/styles/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-left-radius: 4px 4px; border-top-right-radius: 4px 4px; border-bottom-right-radius: 4px 4px; border-bottom-left-radius: 4px 4px; width: 470px; background-position: 50% 0%; background-repeat: repeat no-repeat; "></textarea></td>
                              </tr>
							<tr><td></td><td colspan="3" id="id_re_content" class="alert"></td></tr>							  
                             <tr><td height="37">&nbsp;</td>
                             <td>&nbsp;</td>
                               <td><input type="submit" name="re_send"  value=" Gửi đi " style="border:none; background:#ff0000; color:#FFFFFF; font-weight:bold; font-family:Tahoma; height:26PX;" />
                               <input type="reset" name="re_send2"  value=" Nhập lại " style="border:none; background:#2F66A7; color:#FFFFFF; font-weight:bold; font-family:Tahoma; height:26PX;"  /></td></tr>
                </form>			  
          </table>		
            </td>
         
          </tr>
      </tbody></table>
</div>

<div class="bottom">
  <div class="left"></div>
  <div class="right"></div>
  <div class="center"></div>
</div>

 
    

<!--end content-->
    
 
		